const mongoose = require('mongoose');
// mongoose.connect('mongodb://127.0.0.1:27017/company-system');
try {
  // mongoose.connect('mongodb://127.0.0.1:27017/company-system').then(res => {
  //   // console.log(res);
  // });
  mongoose.connect('mongodb://1.94.168.247:27017/company-system').then(res => {
    // console.log(res);
  });
} catch (error) {
  console.log('error', error);
}
